package cn.com.qingz.modules.user.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.github.miemiedev.mybatis.paginator.domain.PageList;

import cn.com.qingz.modules.system.service.GeneralService;
import cn.com.qingz.modules.user.model.Customer;
import cn.com.qingz.modules.user.model.Design;
import cn.com.qingz.modules.user.model.DesignCase;
import cn.com.qingz.modules.user.vo.CustomerSearchCondition;

public interface CustomerService extends GeneralService<Customer> {

	public void verifyToken(String token);
	
    public Customer doLogin(String username, String password, HttpServletRequest request);

    public PageList<DesignCase> queryDesignPage(CustomerSearchCondition condition, int page, int limit);

    public void doAuth(List<DesignCase> list);

    public void doEx(Integer customerid);

    public PageList<Design> queryHouseModelByPage(String keyword, int page, int limit);

    public void doSaveDesignCase(DesignCase dc);

    public List<Map<String, Object>> getUserDesign(Integer userid);

}
